<!DOCTYPE html>
<html <?php language_attributes(); ?>>

<head>
	<meta charset="<?php bloginfo('charset'); ?>" />

	<?php if (is_search()) { ?>
	   <meta name="robots" content="noindex, nofollow" /> 
	<?php } ?>

	<title>
		   <?php
		      if (function_exists('is_tag') && is_tag()) {
		         single_tag_title("Tag Archive for &quot;"); echo '&quot; - '; }
		      elseif (is_archive()) {
		         wp_title(''); echo ' Archive - '; }
		      elseif (is_search()) {
		         echo 'Search for &quot;'.wp_specialchars($s).'&quot; - '; }
		      elseif (!(is_404()) && (is_single()) || (is_page())) {
		         wp_title(''); echo ' - '; }
		      elseif (is_404()) {
		         echo 'Not Found - '; }
		      if (is_home()) {
		         bloginfo('name'); echo ' - '; bloginfo('description'); }
		      else {
		          bloginfo('name'); }
		      if ($paged>1) {
		         echo ' - page '. $paged; }
		   ?>
	</title>
	
	<link rel="shortcut icon" href="/favicon.ico"/>
	
	<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>"/>
	
	<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>"/>

	<?php if ( is_singular() ) wp_enqueue_script('comment-reply'); ?>

	<?php wp_head(); ?>
    
    <!--[if lte IE 8]>
		<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
	<![endif]-->
    
    <!-- add jQuery library -->
    <script src='http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js'></script>
    
    <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/jquery.jscrollpane.css"/>
     <script src="<?php bloginfo('template_url'); ?>/js/jquery.mousewheel.js"></script>
     <script src="<?php bloginfo('template_url'); ?>/js/jquery.jscrollpane.min.js"></script>
     <script src="<?php bloginfo('template_url'); ?>/js/mwheelIntent.js"></script>
     <script src="<?php bloginfo('template_url'); ?>/js/customSelect.jquery.js"></script>
     
     <!-- jquery for jscrollpane's homepage -->
     <script src="<?php bloginfo('template_url'); ?>/js/main-jquery.js"></script>
     
    <!--[if IE]>
        <link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/ie.css"/>
	<![endif]-->
    
    <!--[if (gte IE 6)&(lte IE 8)]>
        <script src="<?php bloginfo('template_url'); ?>/js/selectivizr.js"></script>
        <noscript><link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/css/ie-lte8.css"/></noscript>
    <![endif]--> 
    
   	
</head>

<body <?php body_class(); ?>>
	
    <div class="body-content">

		<header>
  			<div id="home-link">
        		<a href="<?php echo home_url(); ?>"><img src="<?php bloginfo('template_url'); ?>/images/header-mbo-logo.jpg" alt="MBO-logo"/></a>
            </div>
            <div class="mainmenu">
           		<?php wp_nav_menu(array(
						'theme_location' =>  'menu_header',
						'container' => '',
						'menu_id' => '',
						'menu_class' => ''
				)); ?>
            </div> <!-- End mainmenu -->
            
        </header> <!-- End header -->